/*
 * Configurations:
 * This file determines the correct paramaters at which to run the game. I a pre-made configuration file exists it will read
 * the data from there. If not it will load the default settings and save them to a new configuration file.
 */

#ifndef TOA_CONFIGURATION_H
#define TOA_CONFIGURATION_H

#include <string>

#included "xmlparser.h"

/* Location to store configuration file */
static std::string configuration;

/* Data contained within the configuration */
static std::string configuration_data;

/*
 * A list of resolutions supported for gameplay
 * 
 * It is not decided whether the list of resolutions will hard-coded are set by the operating system.
 * Ideally the operating system will tell the at which resolutions it can be played.
 */

/* Resolutions available */
static int rescount;
static char** resolutions;

/* Check for fullscreen on startup */
static bool fullscreen;

/*
 * Window will always be centered and non-resizable so leaving unconfigured
 */

/* Initialize the configuration settings */
void initConfig ();

#endif /* TOA_CONFIGURATION_H */
